<%@page import="java.util.Random"%>
<%@ page language="java" 
    pageEncoding="UTF-8" isELIgnored="false"%>
<%    long time=0;
    try{
    	time=Integer.valueOf(request.getParameter("time"));
    }catch(Exception ex){
    	Random random=new Random();
    	time=random.nextInt(1000)+500;
    }
    
    pageContext.setAttribute("time", time);
    Thread.sleep(time);
	System.out.println("name:"+request.getParameter("name")+"\t time:"+time);
%> 
<div style="border:solid 1px #000; float:left; margin: 1em; box-sizing: content-box; padding:1em; width: 8em;height:3em;">
Name:${param.name }<br/>
Time:${time}
</div>
